<template>
    <Scroll>
        <div>
            <cart-item v-for="item in cartList" :key="item.iid" :item-info="item"></cart-item>
        </div>
    </Scroll>
</template>

<script>
import CartItem from './CartItem.vue'
import Scroll from 'common/scroll/Scroll'
export default {
    name: 'CartItemList',
    props: {
        cartList: {
            type: Array,
            default () {
                return []
            }
        }
    },
    components: {
        CartItem,
        Scroll
    }
}
</script>

<style scoped>
</style>